<!-- app/View/Users/add.ctp -->

<div id="wrapper">

<div class="users form userCadastro">
<?php echo $this->Form->create('User');?>
    <fieldset>
        <legend><?php echo __('Cadastro Inicial'); ?></legend>
        <div style="width: 100%; float: left;">
          <?php echo $this->Form->input('username', array('label'=>'CPF', 'data-id'=>'cpf'));
          echo $this->Form->input('email', array('label'=>'E-mail', 'style'=>'width: 400px;'));
          ?>
        </div>
        <div style="width: 100%; float: left;">
          <?php
            echo $this->Form->input('password', array('label'=>'Senha'));
            echo $this->Form->input('confirm_password', array('type'=> 'password', 'label'=>'Confirmar Senha'));
            echo $this->Form->hidden('role', array(
                'options' => array('candidato' => 'Candidato', 'admin' => 'Admin')
            ));?>
        </div>
    </fieldset>
    <button type="submit">Cadastrar</button>
<?php echo $this->Form->end();?>
</div>
  <?php echo $this->Html->image('fundo2.jpeg', array('style'=>'width: 100%; margin: 0 0 0 -7px;'));?>
</div>
